import request from '@/utils/request'

// 查询指标一列表
export function listIndicatorOne(query) {
  return request({
    url: '/business/indicatorOne/list',
    method: 'get',
    params: query
  })
}

// 查询指标一详细
export function getIndicatorOne(id) {
  return request({
    url: '/business/indicatorOne/' + id,
    method: 'get'
  })
}

// 新增指标一
export function addIndicatorOne(data) {
  return request({
    url: '/business/indicatorOne',
    method: 'post',
    data: data
  })
}

// 修改指标一
export function updateIndicatorOne(data) {
  return request({
    url: '/business/indicatorOne',
    method: 'put',
    data: data
  })
}

// 删除指标一
export function delIndicatorOne(id) {
  return request({
    url: '/business/indicatorOne/' + id,
    method: 'delete'
  })
}
